Failed
Scenario: Start broker for all scenarios.Scenario: Start broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceI9nTest)
Failing for the past 4 builds
(Since Unstable
)
Error Message
Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Stacktrace
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Standard Output
Failure in before hook:EmbeddedEventBroker.start() Message: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager at org.eclipse.kapua.qa.steps.EmbeddedEventBroker.start(EmbeddedEventBroker.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager at org.eclipse.kapua.qa.steps.EmbeddedEventBroker.start(EmbeddedEventBroker.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) 06:45:05.688 [main] INFO o.e.k.s.user.steps.UserServiceSteps - Logging out in cleanup 06:45:05.689 [main] INFO o.e.k.c.c.KapuaConfigurableServiceSchemaUtilsWithResources - Running database script from resources... 06:45:05.689 [main] INFO o.e.k.c.jpa.SimpleSqlScriptExecutor - Running resources script: database/all_delete.sql 06:45:05.691 [main] INFO o.e.k.c.c.KapuaConfigurableServiceSchemaUtilsWithResources - ...database scripts from resources done! 06:45:05.692 [main] INFO o.e.k.c.c.KapuaConfigurableServiceSchemaUtilsWithResources - Running database script from resources... 06:45:05.692 [main] INFO o.e.k.c.jpa.SimpleSqlScriptExecutor - Running resources script: database/all_delete.sql 06:45:05.693 [main] INFO o.e.k.c.c.KapuaConfigurableServiceSchemaUtilsWithResources - ...database scripts from resources done! 06:45:05.694 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Starting new instance 06:45:05.695 [main] INFO o.a.a.xbean.XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@254e0a33: startup date [Fri Oct 05 06:45:05 EDT 2018]; root of context hierarchy 06:45:05.696 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activemq.xml] 06:45:05.766 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [camel.xml] 06:45:05.910 [main] INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:src/test/resources/credentials.properties] 06:45:05.925 [main] WARN o.a.activemq.broker.BrokerService - Memory Usage for the Broker (6144mb) is more than the maximum available for the JVM: 979 mb - resetting to 70% of maximum available: 685 mb 06:45:05.925 [main] INFO o.a.activemq.broker.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/activemq/HzSTPO_xTAmuoWO-yRBakg/kahaDB] 06:45:06.113 [main] INFO o.a.a.store.kahadb.MessageDatabase - KahaDB is version 6 06:45:06.115 [main] INFO o.a.a.store.kahadb.MessageDatabase - Recovering from the journal @1:8830 06:45:06.116 [main] INFO o.a.a.store.kahadb.MessageDatabase - Recovery replayed 2 operations from the journal in 0.001 seconds. 06:45:06.116 [main] INFO o.a.a.s.kahadb.plist.PListStoreImpl - PListStore:[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/./data/message-broker/tmp_storage] started 06:45:06.117 [main] INFO o.e.k.b.c.KapuaBrokerSecurityPlugin - Installing Kapua broker plugin. 06:45:06.124 [main] INFO o.a.s.c.IniSecurityManagerFactory - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 06:45:06.124 [main] INFO o.a.a.p.DiscardingDLQBrokerPlugin - Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000] 06:45:06.126 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44517-1538735989660-0:5) is starting 06:45:06.126 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... 06:45:06.126 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize jaxb context 06:45:06.126 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:45:06.126 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.BrokerJAXBContextProvider ... 06:45:06.126 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:45:06.126 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize authenticator 06:45:06.126 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:45:06.126 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.authentication.DefaultAuthenticator ... 06:45:06.127 [main] INFO o.e.k.b.c.p.a.DefaultAuthenticator - >>> Security broker filter: calling start... Initialize system message creator 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.message.system.DefaultSystemMessageCreator ... 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:45:06.127 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker ip resolver 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:45:06.127 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIpResolver ... 06:45:06.128 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:45:06.129 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker id resolver 06:45:06.129 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 06:45:06.129 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIdResolver ... 06:45:06.129 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 06:45:06.129 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize stealing link manager... 06:45:06.134 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio://hipp9:1883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:45:06.134 [main] INFO o.a.a.broker.TransportConnector - Connector mqtt started 06:45:06.135 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio+ssl://hipp9:8883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:45:06.135 [main] INFO o.a.a.broker.TransportConnector - Connector mqtts started 06:45:06.136 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hipp9:61616?transport.maximumConnections=1000&transport.socketBufferSize=131072&ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 06:45:06.136 [main] INFO o.a.a.broker.TransportConnector - Connector tcp started 06:45:06.136 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-44517-1538735989660-0:5) started 06:45:06.136 [main] INFO o.a.activemq.broker.BrokerService - For help or more information please see: http://activemq.apache.org 06:45:06.137 [pool-6-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... 06:45:06.137 [pool-6-thread-1] INFO o.a.a.broker.TransportConnector - Connector vm://message-broker started 06:45:06.142 [pool-6-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... DONE 06:45:06.152 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file /jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml 06:45:06.198 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file camel-routes.xml Found 2 parent endpoints in the route 06:45:06.198 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Regex: ^\$EDC\..* Regex: ^\$EDC\.(.*\.){2}MQTT\.BIRTH End point: bean:kapuaLifeCycleConverter?method=convertToBirth,bean:deviceMessageListener?method=processBirthMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.DC End point: bean:kapuaLifeCycleConverter?method=convertToDisconnect,bean:deviceMessageListener?method=processDisconnectMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.APPS End point: bean:kapuaLifeCycleConverter?method=convertToApps,bean:deviceMessageListener?method=processAppsMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.LWT End point: bean:kapuaLifeCycleConverter?method=convertToMissing,bean:deviceMessageListener?method=processMissingMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.NOTIFY End point: bean:kapuaLifeCycleConverter?method=convertToNotify,bean:deviceMessageListener?method=processNotifyMessage End chain Regex: .* End point: bean:kapuaDataConverter?method=convertToData,bean:dataStorageMessageProcessor?method=processMessage 06:45:06.198 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration 'camel-routes.xml' from file '/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml' DONE 06:45:06.205 [main] INFO o.a.c.i.c.DefaultTypeConverter - Loaded 186 type converters 06:45:06.207 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) is starting 06:45:06.207 [main] INFO o.a.c.m.ManagedManagementStrategy - JMX is enabled 06:45:06.208 [main] WARN o.a.c.m.DefaultManagementLifecycleStrategy - This CamelContext(camelContext) will be registered using the name: camelContext-4 due to clash with an existing name already registered in MBeanServer. 06:45:06.214 [main] INFO o.a.c.i.DefaultRuntimeEndpointRegistry - Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 06:45:06.262 [main] INFO o.a.camel.spring.SpringCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 06:45:06.262 [main] INFO o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 06:45:06.295 [main] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-44517-1538735989660-13:1,clientId=null,started=false} 06:45:06.302 [main] INFO o.a.camel.spring.SpringCamelContext - Route: mainKapuaRoute started and consuming from: Endpoint[activemq://queue:Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=20&maxConcurrentConsumers=50&transacted=false] 06:45:06.306 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageCommunicationErrorRoute started and consuming from: Endpoint[activemq://queue:storeCommunicationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:45:06.307 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageConfigurationErrorRoute started and consuming from: Endpoint[activemq://queue:storeConfigurationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:45:06.308 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageGenericErrorRoute started and consuming from: Endpoint[activemq://queue:storeGenericException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:45:06.310 [main] INFO o.a.camel.spring.SpringCamelContext - Route: notProcessableMessage started and consuming from: Endpoint[activemq://queue:notProcessableMessage?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 06:45:06.310 [main] INFO o.a.camel.spring.SpringCamelContext - Total 5 routes, of which 5 is started. 06:45:06.310 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) started in 0.103 seconds 06:45:06.311 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Setting ActiveMQ data directory to target/activemq/HzSTPO_xTAmuoWO-yRBakg/data/message-broker